package com.wind.cloud.common.config;

import com.wind.cloud.common.lock.annotation.LockAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * aop配置
 *
 * @author wind.
 */
@Configuration
@EnableAspectJAutoProxy
public class AopConfig {

    @Bean
    public LockAspect lockAspect() {
        return new LockAspect();
    }

}
